#ifndef SAVINGSACCOUNT_H
#define SAVINGSACCOUNT_H

#include <iostream>
using std::cout;
using std::ios;

class SavingsAccount {
public:
    SavingsAccount (double b)
    {
        savingsBalance = (b >= 0.0 ? b : 0.0);
    };

    virtual ~SavingsAccount () {};

    void calculateMonthlyInterst ();
    static void modifyInterstRate (double);
    void printBalance () const;

private:
    double savingsBalance;
    static double annualInterstRate;
};

#endif /* end of include guard: SAVINGSACCOUNT_H */
